<template>
  <svg :class="svgClass" aria-hidden="true" v-bind="$attrs">
    <use :xlink:href="'#icon-' + iconName" />
  </svg>
</template>

<script setup lang="ts">
  defineProps<{
    iconName: string,
    svgClass?: string
  }>()
</script>